﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.WeixinMP.Models;

namespace Microhard.WeixinMP.Interfaces
{
    public interface IWXMPAuthInterface
    {
        byte[] DownloadMedia(string access_token, string mediaID, out string fileType);
        void SendTXTCustomerMessage(string openID, string access_token, string message);
        void SendImageCustomerMessage(string openID, string access_token, string media_id);
        void SendVideoCustomerMessage(string openID, string access_token, string media_id, string title, string description);
        WeixinUserInfo GetUserInfo(string openID, string access_token, bool usingOnAuthUrl);
        string GetAllSubscribers(string access_token);
        WeixinErrorJSONModel CreateMenu(string access_token, string menuJson);
        WeixinErrorJSONModel DeleteMenu(string access_token);
        WeixinMenuModel GetMenu(string access_token, out string html);
        WXMPCodeToTokenModel GetCodeToToken(Guid cmpID, string code, string state, out Guid companyId, out string companyName);
    }
}
